
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<form method="post" action="${request.contextPath}/blog/edit/${view.post.id}">
    <div>
        <label for="title">Title</label>
        <input id="title" type="text" name="title" value="${view.post.title}"/>
    </div>
    
    <div>
        <label for="content">Content</label>
        <textarea cols="80" rows="40" name="content"><c:out value="${view.post.content}" escapeXml="false"/></textarea>
    </div>
    
    <div>
        <label for="tags">Tags</label>
        <input id="tags" type="text" name="tags" value="${view.post.tagString}"/>
    </div>
    
    <div>
        <input type="submit" value="Save" />
    </div>
</form>